package com.hydeng.house.biz.mapper;

import com.hydeng.house.common.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Description:
 *
 * @author: hydeng
 * @since: 2018-03-06
 */
@Mapper
public interface UserMapper {

    List<User> selectUsers();

    Integer insert(User user);

    Integer delete(String email);

    Integer update(User updateUser);

    List<User> selectUsersByQuery(User user);
}
